package com.example.demo.src;

/**
 * Created by Easettle
 * Date:2021-01-03 13:49
 * Email:easettle@qq.com
 */
public abstract class Handler {
    protected Handler chain;

    public void next(Handler handler) {
        this.chain = handler;
    }

    /**
     * 判断处理
     *
     * @param member
     */
    public abstract void doHandler(Member member);
}
